﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TFSCodeReviewHelper
{
    public class WorkItemChanges
    {
        public List<AssetInformation> Information { get; set; }
        public List<AssetChange> Changes { get; set; }

        public WorkItemChanges()
        {
            Information = new List<AssetInformation>();

            List<AssetInformation> list = new List<AssetInformation>();

            AssetInformation info;
            List<AssetChange> changes;

            changes = new List<AssetChange>();
            changes.Add(null);
            changes.Add(new AssetChange(222222, 0, new DateTime(2010, 6, 6)));
            changes.Add(new AssetChange(333333, 0, new DateTime(2010, 6, 8)));
            changes.Add(new AssetChange(444444, 0, new DateTime(2010, 6, 9)));
            changes.Add(new AssetChange(555555, 0, new DateTime(2010, 6, 12)));
            changes.Add(null);

            info = new AssetInformation(changes);
            info.Location = @"\$DxI iWare\NexGen\Console\BusinessModel\BSofware.cpp";
            list.Add(info);

            changes = new List<AssetChange>();
            changes.Add(new AssetChange(111111, 0, new DateTime(2010, 6, 4)));
            changes.Add(new AssetChange(222222, 0, new DateTime(2010, 6, 6)));
            changes.Add(null);
            changes.Add(new AssetChange(444444, 0, new DateTime(2010, 6, 9)));
            changes.Add(new AssetChange(555555, 0, new DateTime(2010, 6, 12)));
            changes.Add(new AssetChange(666666, 0, new DateTime(2010, 12, 22)));

            info = new AssetInformation(changes);
            info.Location = @"\$DxI iWare\NexGen\Console\BusinessModel\BSofware.h";
            list.Add(info);

            changes = new List<AssetChange>();
            changes.Add(new AssetChange(111111, 0, new DateTime(2010, 6, 4)));
            changes.Add(null);
            changes.Add(new AssetChange(333333, 0, new DateTime(2010, 6, 8)));
            changes.Add(null);
            changes.Add(new AssetChange(555555, 0, new DateTime(2010, 6, 12)));
            changes.Add(new AssetChange(666666, 0, new DateTime(2010, 12, 22)));

            info = new AssetInformation(changes);
            info.Location = @"\$DxI iWare\NexGen\Console\BusinessModel\BLabInformation.cpp";
            list.Add(info);

            Information = list;

            Changes = new List<AssetChange>();
            Changes.Add(new AssetChange(111111, 0, new DateTime(2010, 6, 4)));
            Changes.Add(new AssetChange(222222, 0, new DateTime(2010, 6, 6)));
            Changes.Add(new AssetChange(333333, 0, new DateTime(2010, 6, 8)));
            Changes.Add(new AssetChange(444444, 0, new DateTime(2010, 6, 9)));
            Changes.Add(new AssetChange(555555, 0, new DateTime(2010, 6, 12)));
            Changes.Add(new AssetChange(666666, 0, new DateTime(2010, 12, 22)));


        }
    }
}
